<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html"
	prefix="html"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Welcome to DBDashboard</title>
</head>
<body>
<div align="center">
<table cellspacing="0" cellpadding="0" border="0">
	<tbody>
		<tr>
			<td valign="top" style="padding: 0px; width: 100%;">
			<div class="box_region left">
			<div class="box">
			<div class="top">
			<div class="left">
			<div class="right">
			<div class="middle">
			<div class="box_title" align="left"><span class="boxtitle">User
			Login</span></div>
			</div>
			</div>
			</div>
			</div>
			<div class="content"><html:form action="/Login.do">


				<table cellspacing="2" cellpadding="0" border="0" width="100%">
					<tbody>
						<%
							if (request.getAttribute("errorMsg") != null) {
						%>
						<tr>
							<td nowrap colspan="3">
							<div class="error"><%=request.getAttribute("errorMsg")%></div>
							</td>
						</tr>
						<%
							}
						%>
						<tr>
							<td nowrap colspan="3">
							<div class="formtext">Enter your user name and password</div>
							</td>
						</tr>
						<tr>
							<td nowrap><span class="formlabel">User Name:</span></td>
							<td><img width="5" src="images/t.gif" alt="" /></td>
							<td><html:text property="username" size="20" maxlength="255" /></td>
						</tr>
						<tr>
							<td nowrap><span class="formlabel">Password:</span></td>
							<td><img width="5" src="images/t.gif" alt="" /></td>
							<td><html:password property="password" size="20"
								maxlength="255" /></td>
						</tr>
						<tr>
							<td colspan="3">
							<table cellspacing="0" cellpadding="0" border="0"
								class="form_submit" summary="">
								<tbody>
									<tr>
										<td><input type="submit" value="Login" class="buttontext"/></td>
									</tr>
								</tbody>
							</table>
							</td>
						</tr>
					</tbody>
				</table>
			</html:form></div>
			<div class="bottom">
			<div class="left">
			<div class="right">
			<div class="middle"></div>
			</div>
			</div>
			</div>
			</div>
			</div>
			</td>
		</tr>
	</tbody>
</table>
</div>
</body>
</html>